using System;


public partial class Gallery_Default : miPics.BasePage.BasePage
{
	protected override void OnInit(EventArgs e)
	{
		// hook onto image list user control images loaded event
		_ImageList.ImagesLoaded += this.ImagesLoaded;

		// call base OnInit method
		base.OnInit(e);
	}

	protected void Page_Load(object sender, EventArgs e)
	{
		_ImageList.LoginMode = this.IsLoggedIn;
	}

	private void ImagesLoaded(object sender, EventArgs e)
	{
		Master.SetMenuSectionGallery(_ImageList.GalleryID, _ImageList.GalleryTitle);
	}
}
